package com.lyf.core.common;

/**
 * @Author LYF
 * @CreateTime:2021/11/2
 * @Description:
 * @Modifier:
 * @ModifyContent:
 */
public class CoreLibrary {

    private CoreLibrary() {
    }

    public static CoreLibrary getInstance() {
        return Holder.mCoreLibrary;
    }

    private static final class Holder{
        private static final CoreLibrary mCoreLibrary=new CoreLibrary();
    }

    private RxSubscriberExceptionHanlder rxSubscriberExceptionHanlder;

    public void setRxSubscriberExceptionHanlder(RxSubscriberExceptionHanlder rxSubscriberExceptionHanlder) {
        this.rxSubscriberExceptionHanlder = rxSubscriberExceptionHanlder;
    }

    public RxSubscriberExceptionHanlder getRxSubscriberExceptionHanlder() {
        return rxSubscriberExceptionHanlder;
    }
}
